﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace Demo.Demos
{
    /// <summary>
    /// <%@ Register doesn't support recursive calls
    /// </summary>
    public class TreeViewNodeLoader : Control
    {
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            this.Controls.Add(this.Page.LoadControl("~/Demos/ComplexDataStructures/TreeViewNode.ascx"));
        }
    }
}